package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 举报中间表对象 report_and_type
 * 
 * @author Yzw
 * @date 2024-08-15
 */
public class reportAndType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 中间表id */
    @Excel(name = "中间表id")
    private Long id;

    /** 举报类型id */
    @Excel(name = "举报类型id")
    private Long reportTypeId;

    /** 举报信息表id */
    @Excel(name = "举报信息表id")
    private Long reportInfoId;

    public reportAndType(Long reportTypeId , Long reportInfoId) {
        this.reportTypeId = reportTypeId;
        this.reportInfoId = reportInfoId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReportTypeId(Long reportTypeId) 
    {
        this.reportTypeId = reportTypeId;
    }

    public Long getReportTypeId() 
    {
        return reportTypeId;
    }
    public void setReportInfoId(Long reportInfoId) 
    {
        this.reportInfoId = reportInfoId;
    }

    public Long getReportInfoId() 
    {
        return reportInfoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportTypeId", getReportTypeId())
            .append("reportInfoId", getReportInfoId())
            .toString();
    }
}
